import $https from '@/axios/index';
import { AXIOS } from '@/axios/index';

export const Login = (params: any) => {
  return $https.post('/api/pcLogin', params);
};

export const LoginO = (params: any) => {
  return AXIOS({
    url: '/api/pcLogin',
    data: params,
    method: 'post',
    headers: {
      name: '123456',
      time: new Date().getTime(),
    },
    isLoading: true,
  });
};
